package com.example.vo;

import java.util.Date;
import java.util.List;
import java.util.Map;
import java.util.Set;

public class Emp {
    //类中包含多个属性
    //1.简单的数据类型
    private Integer age;
    //2.对象属性的数据类型
    private Date brithday;

    //3.集合
        //list .array[]
    private List<String> hover;

    private Set<String> sss;

    private Map<String,String> map;

    public Map<String, String> getMap() {
        return map;
    }

    @Override
    public String toString() {
        return "Emp{" +
                "age=" + age +
                ", brithday=" + brithday +
                ", hover=" + hover +
                ", sss=" + sss +
                ", map=" + map +
                '}';
    }

    public void setMap(Map<String, String> map) {
        this.map = map;
    }

    public Set<String> getSss() {
        return sss;
    }

    public void setSss(Set<String> sss) {
        this.sss = sss;
    }

    public List<String> getHover() {
        return hover;
    }

    public void setHover(List<String> hover) {
        this.hover = hover;
    }

    public Date getBrithday() {
        return brithday;
    }

    public void setBrithday(Date brithday) {
        this.brithday = brithday;
    }

    public Emp() {
    }

    public Emp(Integer age) {
        this.age = age;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public void init(){
        System.out.println("创建类的初始化方法");
    }

}
